import Vue from "vue";
import i18n from '@/language/index'
const vueObj = new Vue({ i18n });
export default {
  nodes: [
    {
      type: 'node',
      size: '72*72',
      shape: 'flow-circle',
      color: '#1890FF',
      label: vueObj.$t('batch.workflowConfig.form.start'),
      x: 468,
      y: 61,
      id: '01729835',
      index: 0,
      nodeType: 2,
      nodeCode: '',
      remark: vueObj.$t('batch.workflowConfig.form.startNode'),
      forbidDel: true
    },
    {
      type: 'node',
      size: '80*48',
      shape: 'flow-rect',
      color: '#1890FF',
      label: vueObj.$t('batch.workflowConfig.form.initiatingNode'),
      x: 468,
      y: 201.5,
      id: 'b69121d6',
      index: 1,
      nodeType: 3,
      nodeCode: '',
      errorIgnore: 1,
      isSplit: 2,
      executeTimes: 1,
      expireTime: 3600,
      remark: vueObj.$t('batch.workflowConfig.form.initiatingNode'),
      forbidDel: true,
      nodeHandler: ''
    },
  ],
  edges: [
    {
      source: '01729835',
      sourceCode: '',
      sourceAnchor: 2,
      target: 'b69121d6',
      targetCode: '',
      targetAnchor: 0,
      id: '070785c1',
      nodeType: 2,
      //动作类型 默认为1
      operateType: 1,
      index: 4,
      forbidDel: true,
      expression: ''
    },
  ],
}
